import request from '@/utils/request'

// 首页轮播图
export const homePic = () => {
  return request.get('/home/swiper')
}
// 我的收藏
export const collect = () => {
  return request.get('/user/favorites')
}
// 我的出租
export const hire = () => {
  return request.get('/user/houses')
}
// 租房小组
export const groups = () => {
  return request.get('/home/groups')
}
// 获取一级城市列表
export const getCityList = () => {
  return request.get('/area/city', {
    params: {
      level: 1
    }
  })
}
// 获取热门城市
// export const getHotCityName = () => {
//   return request.get('/area/hot')
// }
